#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for access/transam
#
# IDENTIFICATION
#    src/backend/access/transam/Makefile
#
#-------------------------------------------------------------------------

subdir = src/backend/access/transam
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global
override CPPFLAGS := -I$(srcdir) -I/usr/include/glib-2.0/ -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -L/usr/lib/x86_64-linux-gnu/ -lglib-2.0 -lpthread -I$(libpq_srcdir)  $(CPPFLAGS)

OBJS = \
	clog.o \
	commit_ts.o \
	generic_xlog.o \
	multixact.o \
	parallel.o \
	rmgr.o \
	slru.o \
	subtrans.o \
	timeline.o \
	transam.o \
	twophase.o \
	twophase_rmgr.o \
	varsup.o \
	xact.o \
	pushpage.o \
	xlog.o \
	xlogarchive.o \
	xlogfuncs.o \
	xloginsert.o \
	xlogreader.o \
	xlogutils.o \
	pagehashqueue.o \
	ringbuffer.o \
	pthreadpool.o \
	pg_mirror.o

include $(top_srcdir)/src/backend/common.mk

# ensure that version checks in xlog.c get recompiled when catversion.h changes
xlog.o: xlog.c $(top_srcdir)/src/include/catalog/catversion.h
